class ReportController < ApplicationController
  def index
    @promotion_mail = PromotionMail.find(params[:promotion_mail_id])
    @report = @promotion_mail.create_report
    redirect_to @promotion_mail unless @report
  end
end